package com.waypolice.manager.service;

import com.waypolice.common.pojo.TaotaoResult;
import com.waypolice.pojo.CmsJudItem;

import java.util.List;

/**
 * 档案著录接口
 * @author zhangruyi
 * @create 2019-03-12 14:28
 * @desc
 **/
public interface ArcCreateService {
    TaotaoResult inserJudVolMessage(String volItemNumber,String volCarrier,String volPublicStatus,String vol_class, String vol_storagetime, String vol_no, String vol_fian, String vol_title, String vol_arcyear, String vol_arcunit, String vol_auditleader, String vol_auditdate, String vol_insidedate, String vol_secret,String secretDateline,String vol_total, String vol_current, String vol_totalpage, String vol_desc);

    TaotaoResult inserJudItemMessage(String itemStr5,String volId, String itemNumber, String itemPageNumber, String partNumber, String itemStartDate, String itemTitle, String itemFileNumber, String itemSecretLevel,String itemSecretDateline, String dutyPerson);

    List<CmsJudItem> findItemLists(Long volId);

    TaotaoResult updateJudVolMessage(String volItemNumber,String volCarrier,String volPublicStatus,String volId, String vol_class, String vol_storagetime, String vol_no, String vol_fian, String vol_title, String vol_arcyear, String vol_arcunit, String vol_auditleader, String vol_auditdate, String vol_insidedate, String vol_secret, String secretDateline,String vol_total, String vol_current, String vol_totalpage, String vol_desc);

    TaotaoResult updateJudItemMessage(String itemStr5,String itemId, String volId, String itemNumber, String itemPageNumber, String partNumber, String itemStartDate, String itemTitle, String itemFileNumber, String itemSecretLevel,String itemSecretDateline, String dutyPerson);

    CmsJudItem selectCmsJudItemByItemId(Long itemId);

    TaotaoResult findSameArcNumber(String volId,String arcNumber);

    TaotaoResult findItemNumberIsRepeat(String itemNumber , String volId);

    TaotaoResult deleteItemMessage(String itemId, String type) throws Exception;

    long selectMaxItemNumber(String volId);


    TaotaoResult findSameItemPage(String itemId, String volId, String itemPageNumber);

    TaotaoResult submitJudVolMessageAndArchive(String volItemNumber,String volCarrier,String volPublicStatus,String volId, String vol_class, String vol_storagetime, String vol_no, String vol_fian, String vol_title, String vol_arcyear, String vol_arcunit, String vol_auditleader, String vol_auditdate, String vol_insidedate, String vol_secret, String secretDateline, String vol_total, String vol_current, String vol_totalpage, String vol_desc);

    TaotaoResult submitJudItemMessageArchive(String itemStr5,String itemId, String volId, String itemNumber, String itemPageNumber, String partNumber, String itemStartDate, String itemTitle, String itemFileNumber, String itemSecretLevel, String itemSecretDateline, String dutyPerson);

    TaotaoResult submitInsertJudItemMessageArchive(String itemStr5,String volId, String itemNumber, String itemPageNumber, String partNumber, String itemStartDate, String itemTitle, String itemFileNumber, String itemSecretLevel, String itemSecretDateline, String dutyPerson);
}
